<?php
  ini_set( "display_errors", 0);
  $url = "http://twitter.com/statuses/user_timeline/116371956.rss";
  $beginTags = "<div class=\"updatesBorder\"><div class=\"updatesBox\">";
  $endTags = "</div></div><div class=\"updatesSeperator\">&nbsp;</div>";
  $beginDate = "<div class=\"updatesDate\"> - ";
  $endDate = "</div>";
  $xml = simplexml_load_file($url);
  $count = 0;
  foreach($xml->channel->item as $entry)
  {
    echo $beginTags . substr($entry->title, 15) . $beginDate .
    date_format(date_create($entry->pubDate), 'jS, F Y') . $endDate . $endTags;
    if(++$count > 1) break;
  }
?>
